package basicenums;

/**
 * <p>Title: GuitarWithBuilderEnum</p>
 * Description: CS 235 Lab #3 
 * This class is used to represent a guitar in a store. It is different from 
 * the Guitar class in that this class uses the Builder enum instead of a String.
 * 
 * @author This code is from "Head First Object Oriented Design"
 * @date February 4th 2013
 */

public class GuitarWithBuilderEnum {

  private String serialNumber, model, type, backWood, topWood;
  private Builder builder;
  private double price;

  /**
   * GuitarWithBuilderEnum constructor
   * @param serialNumber
   * @param price
   * @param builder
   * @param model
   * @param type
   * @param backWood
   * @param topWood
   */
	public GuitarWithBuilderEnum(String serialNumber,
			double price,
			Builder builder,
			String model,
			String type,
			String backWood,
			String topWood) {
		this.serialNumber = serialNumber;
		this.price = price;
		this.builder = builder;
		this.model = model;
		this.type = type;
		this.backWood = backWood;
		this.topWood = topWood;
	}

	public String getSerialNumber() {
		return serialNumber;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(float newPrice) {
		this.price = newPrice;
	}

	public Builder getBuilder() {
		return builder;
	}

	public String getModel() {
		return model;
	}

	public String getType() {
		return type;
	}

	public String getBackWood() {
		return backWood;
	}

	public String getTopWood() {
		return topWood;
	}
}